package org.jeecg.modules.job.ums.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.job.rms.entity.RmsCompanyPosition;
import org.jeecg.modules.job.rms.entity.RmsCourse;
import org.jeecg.modules.job.rms.entity.RmsOuttask;
import org.jeecg.modules.job.wms.entity.WmsResume;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 分享记录
 * @Author: jeecg-boot
 * @Date:   2022-12-18
 * @Version: V1.0
 */
@Data
@TableName("ums_share_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ums_share_log对象", description="分享记录")
public class UmsShareLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 简历信息
     */
    @TableField(exist = false)
    private WmsResume resume;

    /**
     * 职位信息
     */
    @TableField(exist = false)
    private RmsCompanyPosition position;
    /**
     * 课程信息，课程分享
     */
    @TableField(exist = false)
    private RmsCourse course;
    /**
     * 外包任务分享
     */
    @TableField(exist = false)
    private RmsOuttask task;
    @TableField(exist = false)
    private String memberName;//姓名
    @TableField(exist = false)
    private String memberAvatar;//头像
    @TableField(exist = false)
    private String memberPostName;//担任岗位
    @TableField(exist = false)
    private String memberSex;//性别
    @TableField(exist = false)
    private String memberPhone;//手机号
    @TableField(exist = false)
    private String companyName;//企业名称
    @TableField(exist = false)
    private String companyStaffSize;//企业规模
    @TableField(exist = false)
    private String companyNature;//企业性质
    @TableField(exist = false)
    private String companyPostName;//公司任职，工作经历使用
    @TableField(exist = false)
    private String postName;//岗位名称
    @TableField(exist = false)
    private String expectSalary;//期望薪资
    @TableField(exist = false)
    private String workSkill;//工作技能
    @TableField(exist = false)
    private boolean ifRead;//是否阅读
    @TableField(exist = false)
    private String dataName;
    @TableField(exist = false)
    private String dataName1;
    @TableField(exist = false)
    private String dataName2;
    @TableField(exist = false)
    private String dataName3;



	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**类型：0-职位分享，1-课程分享，3-外包分享，4-简历分享*/
	@Excel(name = "类型：0-职位分享，1-课程分享，3-外包分享，4-简历分享", width = 15, dicCode = "share_type")
	@Dict(dicCode = "share_type")
    @ApiModelProperty(value = "类型：0-职位分享，1-课程分享，3-外包分享，4-简历分享")
    private java.lang.Integer shareType;
	/**会员ID*/
	@Excel(name = "会员ID", width = 15)
    @ApiModelProperty(value = "会员ID")
    private java.lang.String memberId;
	/**招聘者ID*/
	@Excel(name = "招聘者ID", width = 15)
    @ApiModelProperty(value = "招聘者ID")
    private java.lang.String comMemberId;
	/**推广码*/
	@Excel(name = "推广码", width = 15)
    @ApiModelProperty(value = "推广码")
    private java.lang.String tcode;
	/**数据ID*/
	@Excel(name = "数据ID", width = 15)
    @ApiModelProperty(value = "数据ID")
    private java.lang.String dataId;
	/**公司ID*/
	@Excel(name = "公司ID", width = 15)
    @ApiModelProperty(value = "公司ID")
    private java.lang.String companyId;
	/**阅读人数*/
	@Excel(name = "阅读人数", width = 15)
    @ApiModelProperty(value = "阅读人数")
    private java.lang.Integer number;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private java.lang.Integer sort;
	/**启用状态*/
	@Excel(name = "启用状态", width = 15)
    @ApiModelProperty(value = "启用状态")
    private java.lang.Integer status;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**所属部门编码*/
    @ApiModelProperty(value = "所属部门编码")
    private java.lang.String sysOrgCode;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
    private java.lang.Integer tenantId;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private java.lang.Integer delFlag;
}
